<script type="text/javascript">
//页面加载时执行
$(function(){
	$.get("applicationSingle/getCardInfo",function(data){
		var contentb="<option value='' selected>请选择</option>";
		var i;
		$(data).each(function(n,item){
			for(i=0;i<item.cdProDefinitions.length;i++){
				
				contentb+="<option value="+item.cdProDefinitions[i].cardpCode+">"
				+item.cdProDefinitions[i].cardpName+"</option>"
			}
			$("#cardCodeByQueryHandleInfo").html(contentb);
		});
	},"json");
	$.post("tellerManage/getpaperAndBranch",function(json){
		 var contentb="<option value='' >请选择</option>";
		 $(json).each(function(n,item){
			for(i=0;i<item.branchs.length;i++){
				contentb+="<option value="+item.branchs[i].orgName+">"
				+item.branchs[i].orgName+"</option>"
			};
			$("select[name='branch']").html(contentb);
		 });
		
	 },"json")
	$.ajax({
		type: 'POST',
		url:"queryInfo/queryHandle",
		dataType:"json",
		cache: false,
		success: queryHandleInfo,//回调函数
		error: DWZ.ajaxError
	});
	
});
</script>
<div class="pageHeader ">
	<form id="pagerForm" method="post" action="queryInfo/queryHandle"
		class="pageForm required-validate"
		onsubmit="return validateCallback(this,queryHandleInfo);">
		<input type="hidden" name="pageNum" value="" /> <input type="hidden"
			name="numPerPage" value="" />
		<div class="searchBar">
			<!-- <table class="searchContent">
			<tr>
				<td style="text-align:left"><label>卡产品：</label></td>
				<td style="text-align:left"><select id="cardCodeByQueryHandleInfo" name="cardpCode" >
			
				</select></td>
			
				<td style="text-align:left"><label>交易名称：</label></td>
				<td><input  name="name" class="" type="text" size="30" /></td>
			</tr>
			
			<tr>
				<td style="text-align:left"><label>市民卡号：</label></td>
				<td><input  name="crtOperator" class="" type="text" size="30" /></td>
			
				<td style="text-align:left"><label>代理人：</label></td>
				<td><input  name="agentName" class="" type="text" size="30" /></td>
			</tr>
			<tr>
				<td><label>办理日期(起)：</label></td>
				<td><input  name="crtDateStart" class="date" type="text" size="30"  /></td>
			
				<td><label>办理日期(止)：</label></td>
				<td><input  name="crtDateEnd" class="date" type="text" size="30" /></td>
			</tr>
			<tr>
				<td style="text-align:left"><label>单位名称：</label></td>
				<td><input  name="corpName" class="" type="text" size="30" /></td>
			
				<td style="text-align:left"><label>办理网点：</label></td>
				<td><input  name="branch" class="" type="text" size="30" /></td>
			</tr>
			
			<tr>
				<td style="text-align:left"><label>业务类型：</label></td>
				<td style="text-align:left"><select  name="certType" class=""  >
					<option value="" >请选择
					<option value="1">单笔申请
					<option value="2">批量申请
					<option value="3">出库配送
					<option value="4">单笔发卡
					<option value="5">批量发卡
					<option value="6">正式挂失
					<option value="7">退卡退款
					<option value="8">现场退卡退款
					<option value="9">退卡登记
					<option value="10">补卡发卡
					<option value="11">补卡申请
					<option value="12">换卡申请
					<option value="13">口头挂失
					<option value="14">解挂
					<option value="15">退款登记
				</select></td>
			</tr>
			</table> -->
			<div class="row" style="padding: 0 10px;">
				<div class="col-md-4 col-sm-12">
					<p>
						<label>卡产品：</label> <select id="cardCodeByQueryHandleInfo"
							name="cardpCode"></select>
				</div>
				<div class="col-md-4 col-sm-12">
					<p>
						<label>交易名称：</label> <input name="name" class="" type="text"
							size="30" />
					</p>
				</div>
				<div class="col-md-4 col-sm-12">
					<p>
						<label>市民卡号：</label> <input name="citizenCardNo" class="validCitizenCardNo"
							type="text" size="30" />
					</p>
				</div>
			</div>
			<div class="row" style="padding: 0 10px;">
				<div class="col-md-4 col-sm-12">
					<p>
						<label>代理人姓名：</label> <input name="agentName" class="validName" type="text"
							size="30" />
					</p>
				</div>
				<div class="col-md-4 col-sm-12">
					<p>
						<label>办理日期(起)：</label> <input name="crtDateStart" class="date validDateFrom"
							type="text" size="30" />
					</p>
				</div>
				<div class="col-md-4 col-sm-12">
					<p>
						<label>办理日期(止)：</label> <input name="crtDateEnd" class="date validDateTo"
							type="text" size="30" />
					</p>
				</div>
			</div>
			<div class="row" style="padding: 0 10px;">
				<div class="col-md-4 col-sm-12">
					<p>
						<label>单位名称：</label> <input name="corpName" class="" type="text"
							size="30" />
					</p>
				</div>
				<div class="col-md-4 col-sm-12">
					<p>
						<label>办理网点：</label> <!-- <input name="branch" class="" type="text"
							size="30" /> -->
					<select name="branch"></select>
					</p>
				</div>
				<div class="col-md-4 col-sm-12">
					<p>
						<label>业务类型：</label> <select name="certType" class="">
							<option value="">请选择
							<option value="1">单笔申请
							<option value="2">批量申请
							<option value="3">出库配送
							<option value="4">单笔发卡
							<option value="5">批量发卡
							<option value="6">正式挂失
							<option value="7">退卡退款
							<option value="8">现场退卡退款
							<option value="9">退卡登记
							<option value="10">补卡发卡
							<option value="11">补卡申请
							<option value="12">换卡申请
							<option value="13">口头挂失
							<option value="14">解挂
							<option value="15">退款登记
						</select>
					</p>
				</div>
			</div>
			<div class="subBar">
				<ul>
					<li>
						<div class="buttonActive">
							<div class="buttonContent">
								<button type="submit" onclick="initCurrentPage()">查询</button>
							</div>
						</div>
					</li>
				</ul>
			</div>
		</div>
	</form>
</div>

<form method="post" action="makeCard/goExportTask"
	class="pageForm required-validate"
	onsubmit="return validateCallback(this,refresh);">
	<div class="pageContent">
		<div id="ByQueryHandInfo">
			<table class="table" width="100%" layoutH="218">
				<thead>
					<!-- 卡产品、、交易名称、业务类型、市民卡号、持卡人姓名、证件号码、单位名称、申办网点、代理人姓名、办理日期、业务状态-->
					<tr align="center">
						<th width="8%">卡产品</th>
						<th width="10%">市民卡号</th>
						<th width="8%">持卡人</th>
						<th width="10%">证件号码</th>
						<th width="8%">业务状态</th>
						<th width="8%">代理人姓名</th>
						<th width="8%">交易名称</th>
						<th width="8%">单位名称</th>
						<th width="8%">办理日期</th>
						<th width="8%">办理网点</th>
						<th width="8%">办理柜员</th>
						<th width="8%">业务类型</th>
					</tr>
				</thead>
				<tbody id="tbodyByQueryHandleInfo">

				</tbody>
			</table>
		</div>
		<!--  <div class="panelBar">
		<div class="pages">
			<span>显示</span>
			<select id="numPerPageByQueryHandleInfo" name="numPerPage" onchange="paging(this,$('#queryHandleInfo'),queryHandleInfo)">
				<option value="20">20</option>
				<option value="30">30</option>
				<option value="50">50</option>
				<option value="100">100</option>
			</select>
			<span id="totalCountByQueryHandleInfo" ></span>
		</div>
			<div id="paginationByQueryHandleInfo" class="pagination1"  ></div>
	</div> -->
		<div class="panelBar">
			<div class="pages">
				<span>显示</span> <select class="combox" name="numPerPage"
					onchange="navTabPageBreak({numPerPage:this.value},'tbodyByQueryHandleInfo',queryHandleInfo)">
					<option value="20">20</option>
					<option value="50">50</option>
					<option value="100">100</option>
					<option value="200">200</option>
				</select> <span id="totalCountByQueryHandleInfo">条，共${totalCount}条</span>
			</div>

			<div callback='queryHandleInfo' id="paginationByQueryHandleInfo"
				rel="tbodyByQueryHandleInfo" class="pagination" targetType="navTab"
				totalCount="200" numPerPage="5" pageNumShown="5" currentPage="1"></div>

		</div>
	</div>
</form>


